package com.jrtc.dao;

import com.jrtc.base.entity.bo.CatchBallRecord;
import com.jrtc.base.entity.bo.FingerFuckRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface FingerFuckRecordDao {
    /**
     * 添加患者手指操记录
     * */
    public int insertRecord(FingerFuckRecord fingerFuckRecord);

    /**
     * 查询时间内的记录
     * */
    public List<FingerFuckRecord> selFingerFuckRecord(@Param("date") Date date, @Param("dBefore") Date dBefore, @Param("id") Integer id);

    /**
     * 患者手指操记录
     * */
    public List<FingerFuckRecord> fingerFuckRecord(Integer id);

    /**
     * 获取指定手指操记录
     * */
    public FingerFuckRecord fingerFuckRecordById(Integer id);
}